home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib7
/
v_09_02
/
9n02118a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
391 b
|
19 lines
ret = yylex();
switch(ret)
{
case SET:
/* Next input should be the numeric value */
ret = yylex();
if (ret != INTEGER_NUMBER)
{
printf("\n ERROR -- number not specified
after SET");
exit(0);
}
else
sscanf(yytext,"%d",&value);
break;
...